package com.taiji.dianthus.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @ClassName ServiceMonitorDto
 * @Description
 * @Author H.M
 * @Date 2020/6/17
 */
@ApiModel(description = "服务监控dto")
public class ServiceMonitorDto {

    @ApiModelProperty(value = "主键", name = "id")
    private String id;

    @ApiModelProperty(value = "应用id", name = "appId")
    private String appId;

    @ApiModelProperty(value = "服务名称", name = "serviceName")
    private String serviceName;

    @ApiModelProperty(value = "接口地址", name = "serviceUrl")
    private String serviceUrl;

    @ApiModelProperty(value = "服务类型 1 组织同步 2组织更新 3组织删除 4组织新增 5用户同步 " +
            "6 用户更新 7用户更新 8 用户新增 9 单点登录 10 其他接口", name = "serviceType")
    private Integer serviceType;

    @ApiModelProperty(value = "实现方式", name = "implementationWay")
    private String implementationWay;

    @ApiModelProperty(value = "服务描述", name = "serviceDesc")
    private String serviceDesc;

    @ApiModelProperty(value = "服务包名", name = "servicePackageName")
    private String servicePackageName;

    @ApiModelProperty(value = "服务备注", name = "serviceRemark")
    private String serviceRemark;

    @ApiModelProperty(value = "服务接口调用统计", name = "callCount")
    private Integer callCount;

    @ApiModelProperty(value = "服务是否保持连接", name = "callCount")
    private Boolean keepLive;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public String getServiceUrl() {
        return serviceUrl;
    }

    public void setServiceUrl(String serviceUrl) {
        this.serviceUrl = serviceUrl;
    }

    public Integer getServiceType() {
        return serviceType;
    }

    public void setServiceType(Integer serviceType) {
        this.serviceType = serviceType;
    }

    public String getImplementationWay() {
        return implementationWay;
    }

    public void setImplementationWay(String implementationWay) {
        this.implementationWay = implementationWay;
    }

    public String getServiceDesc() {
        return serviceDesc;
    }

    public void setServiceDesc(String serviceDesc) {
        this.serviceDesc = serviceDesc;
    }

    public String getServicePackageName() {
        return servicePackageName;
    }

    public void setServicePackageName(String servicePackageName) {
        this.servicePackageName = servicePackageName;
    }

    public String getServiceRemark() {
        return serviceRemark;
    }

    public void setServiceRemark(String serviceRemark) {
        this.serviceRemark = serviceRemark;
    }

    public Integer getCallCount() {
        return callCount;
    }

    public void setCallCount(Integer callCount) {
        this.callCount = callCount;
    }

    public Boolean getKeepLive() {
        return keepLive;
    }

    public void setKeepLive(Boolean keepLive) {
        this.keepLive = keepLive;
    }
}
